package big;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 123
 * Date: 2023-05-05
 * Time: 19:29
 */
public class Cat extends Animal{

    public Cat (String name){
          super(name);
        System.out.println("big.Cat 的构造方法");
    }
static {
    System.out.println("Cat的静态代码快");
}
    {
        System.out.println("Cat的实例化代码块");
    }

    public void catMiaoMiao(){
        System.out.println(this.name + " 正在喵喵");
    }
}
